package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "房源信息es-详情查询响应对象")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoomelQueryResp extends RoomelBaseVo {

    @Schema(description = "主键id")
    private String id;

    @Schema(description = "合同到期日期")
    private LocalDateTime contractExpiryDate;

    @Schema(description = "租客名")
    private String tenantName;

    @Schema(description = "合同到期时间")
    private LocalDate expiryDate;

    @Schema(description = "续租合同到期时间")
    private LocalDate leaseRenewalExpiryDate;
}
